import requests


class InnerApi:

    def __init__(self):
        self.session = requests.session()

    def register_stream_user(self):
        url = "http://120.83.183.76:30011/v1/inner/task/cg_mount"
        data = {"ecu_id": 905,
                "vmid": 100008
                }
        res = self.session.post(url=url, json=data)
        print(res.json())


if __name__ == '__main__':
    InnerApi().register_stream_user()